package controler;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

import javax.swing.JRadioButton;

public class SelectDishToRemoveListener implements ActionListener{
	
	public static int CHOOSEDDISHTOREMOVE;
	
	public SelectDishToRemoveListener(){
		CHOOSEDDISHTOREMOVE = 0;
	}
	
	public void actionPerformed(ActionEvent evt){
		JRadioButton source = (JRadioButton)evt.getSource();
		CHOOSEDDISHTOREMOVE = (int)Integer.parseInt(source.getName());
	}
}